Optimal. Leaf size=278 \[ \frac {d^3 \left (20 c^2-30 c d+13 d^2\right ) x}{2 a^3}+\frac {2 d \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right ) \cos (e+f x)}{15 a^3 f}+\frac {d^2 \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \cos (e+f x) \sin (e+f x)}{30 a^3 f}-\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) \cos (e+f x) (c+d \sin (e+f x))^2}{15 f \left (a^3+a^3 \sin (e+f x)\right )}-\frac {(c-d) (2 c+11 d) \cos (e+f x) (c+d \sin (e+f x))^3}{15 a f (a+a \sin (e+f x))^2}-\frac {(c-d) \cos (e+f x) (c+d \sin (e+f x))^4}{5 f (a+a \sin (e+f x))^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.41, antiderivative size = 278, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {2844, 3056,
2813} \begin {gather*} -\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) \cos (e+f x) (c+d \sin (e+f x))^2}{15 f \left (a^3 \sin (e+f x)+a^3\right )}+\frac {d^3 x \left (20 c^2-30 c d+13 d^2\right )}{2 a^3}+\frac {d^2 \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sin (e+f x) \cos (e+f x)}{30 a^3 f}+\frac {2 d \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right ) \cos (e+f x)}{15 a^3 f}-\frac {(c-d) \cos (e+f x) (c+d \sin (e+f x))^4}{5 f (a \sin (e+f x)+a)^3}-\frac {(c-d) (2 c+11 d) \cos (e+f x) (c+d \sin (e+f x))^3}{15 a f (a \sin (e+f x)+a)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2813
Rule 2844
Rule 3056
Rubi steps
\begin {align*} \int \frac {(c+d \sin (e+f x))^5}{(a+a \sin (e+f x))^3} \, dx &=-\frac {(c-d) \cos (e+f x) (c+d \sin (e+f x))^4}{5 f (a+a \sin (e+f x))^3}-\frac {\int \frac {(c+d \sin (e+f x))^3 (-a (2 c-d) (c+4 d)+a (2 c-7 d) d \sin (e+f x))}{(a+a \sin (e+f x))^2} \, dx}{5 a^2}\\ &=-\frac {(c-d) (2 c+11 d) \cos (e+f x) (c+d \sin (e+f x))^3}{15 a f (a+a \sin (e+f x))^2}-\frac {(c-d) \cos (e+f x) (c+d \sin (e+f x))^4}{5 f (a+a \sin (e+f x))^3}-\frac {\int \frac {(c+d \sin (e+f x))^2 \left (-a^2 \left (2 c^3+9 c^2 d+37 c d^2-33 d^3\right )+a^2 d \left (4 c^2+24 c d-43 d^2\right ) \sin (e+f x)\right )}{a+a \sin (e+f x)} \, dx}{15 a^4}\\ &=-\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) \cos (e+f x) (c+d \sin (e+f x))^2}{15 f \left (a^3+a^3 \sin (e+f x)\right )}-\frac {(c-d) (2 c+11 d) \cos (e+f x) (c+d \sin (e+f x))^3}{15 a f (a+a \sin (e+f x))^2}-\frac {(c-d) \cos (e+f x) (c+d \sin (e+f x))^4}{5 f (a+a \sin (e+f x))^3}-\frac {\int (c+d \sin (e+f x)) \left (-a^3 d^2 \left (2 c^2+165 c d-152 d^2\right )+a^3 d \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \sin (e+f x)\right ) \, dx}{15 a^6}\\ &=\frac {d^3 \left (20 c^2-30 c d+13 d^2\right ) x}{2 a^3}+\frac {2 d \left (2 c^4+15 c^3 d+72 c^2 d^2-180 c d^3+76 d^4\right ) \cos (e+f x)}{15 a^3 f}+\frac {d^2 \left (4 c^3+30 c^2 d+146 c d^2-195 d^3\right ) \cos (e+f x) \sin (e+f x)}{30 a^3 f}-\frac {(c-d) \left (2 c^2+15 c d+76 d^2\right ) \cos (e+f x) (c+d \sin (e+f x))^2}{15 f \left (a^3+a^3 \sin (e+f x)\right )}-\frac {(c-d) (2 c+11 d) \cos (e+f x) (c+d \sin (e+f x))^3}{15 a f (a+a \sin (e+f x))^2}-\frac {(c-d) \cos (e+f x) (c+d \sin (e+f x))^4}{5 f (a+a \sin (e+f x))^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(992\) vs. \(2(278)=556\).
time = 6.86, size = 992, normalized size = 3.57 \begin {gather*} \frac {\left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (1200 c^4 d \cos \left (\frac {1}{2} (e+f x)\right )+4800 c^3 d^2 \cos \left (\frac {1}{2} (e+f x)\right )-21600 c^2 d^3 \cos \left (\frac {1}{2} (e+f x)\right )+22500 c d^4 \cos \left (\frac {1}{2} (e+f x)\right )-7560 d^5 \cos \left (\frac {1}{2} (e+f x)\right )+12000 c^2 d^3 (e+f x) \cos \left (\frac {1}{2} (e+f x)\right )-18000 c d^4 (e+f x) \cos \left (\frac {1}{2} (e+f x)\right )+7800 d^5 (e+f x) \cos \left (\frac {1}{2} (e+f x)\right )-160 c^5 \cos \left (\frac {3}{2} (e+f x)\right )-1200 c^4 d \cos \left (\frac {3}{2} (e+f x)\right )-3200 c^3 d^2 \cos \left (\frac {3}{2} (e+f x)\right )+18400 c^2 d^3 \cos \left (\frac {3}{2} (e+f x)\right )-24300 c d^4 \cos \left (\frac {3}{2} (e+f x)\right )+9230 d^5 \cos \left (\frac {3}{2} (e+f x)\right )-6000 c^2 d^3 (e+f x) \cos \left (\frac {3}{2} (e+f x)\right )+9000 c d^4 (e+f x) \cos \left (\frac {3}{2} (e+f x)\right )-3900 d^5 (e+f x) \cos \left (\frac {3}{2} (e+f x)\right )+1500 c d^4 \cos \left (\frac {5}{2} (e+f x)\right )-750 d^5 \cos \left (\frac {5}{2} (e+f x)\right )-1200 c^2 d^3 (e+f x) \cos \left (\frac {5}{2} (e+f x)\right )+1800 c d^4 (e+f x) \cos \left (\frac {5}{2} (e+f x)\right )-780 d^5 (e+f x) \cos \left (\frac {5}{2} (e+f x)\right )+300 c d^4 \cos \left (\frac {7}{2} (e+f x)\right )-105 d^5 \cos \left (\frac {7}{2} (e+f x)\right )-15 d^5 \cos \left (\frac {9}{2} (e+f x)\right )+320 c^5 \sin \left (\frac {1}{2} (e+f x)\right )+1200 c^4 d \sin \left (\frac {1}{2} (e+f x)\right )+6400 c^3 d^2 \sin \left (\frac {1}{2} (e+f x)\right )-29600 c^2 d^3 \sin \left (\frac {1}{2} (e+f x)\right )+35100 c d^4 \sin \left (\frac {1}{2} (e+f x)\right )-12760 d^5 \sin \left (\frac {1}{2} (e+f x)\right )+12000 c^2 d^3 (e+f x) \sin \left (\frac {1}{2} (e+f x)\right )-18000 c d^4 (e+f x) \sin \left (\frac {1}{2} (e+f x)\right )+7800 d^5 (e+f x) \sin \left (\frac {1}{2} (e+f x)\right )+2400 c^3 d^2 \sin \left (\frac {3}{2} (e+f x)\right )-7200 c^2 d^3 \sin \left (\frac {3}{2} (e+f x)\right )+4500 c d^4 \sin \left (\frac {3}{2} (e+f x)\right )-930 d^5 \sin \left (\frac {3}{2} (e+f x)\right )+6000 c^2 d^3 (e+f x) \sin \left (\frac {3}{2} (e+f x)\right )-9000 c d^4 (e+f x) \sin \left (\frac {3}{2} (e+f x)\right )+3900 d^5 (e+f x) \sin \left (\frac {3}{2} (e+f x)\right )-32 c^5 \sin \left (\frac {5}{2} (e+f x)\right )-240 c^4 d \sin \left (\frac {5}{2} (e+f x)\right )-1120 c^3 d^2 \sin \left (\frac {5}{2} (e+f x)\right )+5120 c^2 d^3 \sin \left (\frac {5}{2} (e+f x)\right )-7260 c d^4 \sin \left (\frac {5}{2} (e+f x)\right )+2782 d^5 \sin \left (\frac {5}{2} (e+f x)\right )-1200 c^2 d^3 (e+f x) \sin \left (\frac {5}{2} (e+f x)\right )+1800 c d^4 (e+f x) \sin \left (\frac {5}{2} (e+f x)\right )-780 d^5 (e+f x) \sin \left (\frac {5}{2} (e+f x)\right )+300 c d^4 \sin \left (\frac {7}{2} (e+f x)\right )-105 d^5 \sin \left (\frac {7}{2} (e+f x)\right )+15 d^5 \sin \left (\frac {9}{2} (e+f x)\right )\right )}{480 f (a+a \sin (e+f x))^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.58, size = 360, normalized size = 1.29
method | result | size |
derivativedivides | \(\frac {-\frac {2 \left (c^{5}-10 c^{2} d^{3}+15 c \,d^{4}-6 d^{5}\right )}{\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1}-\frac {-4 c^{5}+10 c^{4} d -20 c^{2} d^{3}+20 c \,d^{4}-6 d^{5}}{\left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{2}}-\frac {2 \left (8 c^{5}-30 c^{4} d +40 c^{3} d^{2}-20 c^{2} d^{3}+2 d^{5}\right )}{3 \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{3}}-\frac {-8 c^{5}+40 c^{4} d -80 c^{3} d^{2}+80 c^{2} d^{3}-40 c \,d^{4}+8 d^{5}}{2 \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{4}}-\frac {2 \left (4 c^{5}-20 c^{4} d +40 c^{3} d^{2}-40 c^{2} d^{3}+20 c \,d^{4}-4 d^{5}\right )}{5 \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{5}}+2 d^{3} \left (\frac {\frac {d^{2} \left (\tan ^{3}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}+\left (-5 c d +3 d^{2}\right ) \left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )-\frac {d^{2} \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{2}-5 c d +3 d^{2}}{\left (1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )^{2}}+\frac {\left (20 c^{2}-30 c d +13 d^{2}\right ) \arctan \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}\right )}{f \,a^{3}}\) | \(360\) |
default | \(\frac {-\frac {2 \left (c^{5}-10 c^{2} d^{3}+15 c \,d^{4}-6 d^{5}\right )}{\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1}-\frac {-4 c^{5}+10 c^{4} d -20 c^{2} d^{3}+20 c \,d^{4}-6 d^{5}}{\left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{2}}-\frac {2 \left (8 c^{5}-30 c^{4} d +40 c^{3} d^{2}-20 c^{2} d^{3}+2 d^{5}\right )}{3 \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{3}}-\frac {-8 c^{5}+40 c^{4} d -80 c^{3} d^{2}+80 c^{2} d^{3}-40 c \,d^{4}+8 d^{5}}{2 \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{4}}-\frac {2 \left (4 c^{5}-20 c^{4} d +40 c^{3} d^{2}-40 c^{2} d^{3}+20 c \,d^{4}-4 d^{5}\right )}{5 \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right )^{5}}+2 d^{3} \left (\frac {\frac {d^{2} \left (\tan ^{3}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}+\left (-5 c d +3 d^{2}\right ) \left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )-\frac {d^{2} \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{2}-5 c d +3 d^{2}}{\left (1+\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )^{2}}+\frac {\left (20 c^{2}-30 c d +13 d^{2}\right ) \arctan \left (\tan \left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{2}\right )}{f \,a^{3}}\) | \(360\) |
risch | \(\frac {10 d^{3} x \,c^{2}}{a^{3}}-\frac {15 d^{4} x c}{a^{3}}+\frac {13 d^{5} x}{2 a^{3}}+\frac {i d^{5} {\mathrm e}^{2 i \left (f x +e \right )}}{8 f \,a^{3}}-\frac {5 d^{4} {\mathrm e}^{i \left (f x +e \right )} c}{2 f \,a^{3}}+\frac {3 d^{5} {\mathrm e}^{i \left (f x +e \right )}}{2 f \,a^{3}}-\frac {5 d^{4} {\mathrm e}^{-i \left (f x +e \right )} c}{2 f \,a^{3}}+\frac {3 d^{5} {\mathrm e}^{-i \left (f x +e \right )}}{2 f \,a^{3}}-\frac {i d^{5} {\mathrm e}^{-2 i \left (f x +e \right )}}{8 f \,a^{3}}+\frac {\frac {4 i c^{5} {\mathrm e}^{i \left (f x +e \right )}}{3}-60 c \,d^{4} {\mathrm e}^{4 i \left (f x +e \right )}+\frac {160 c^{3} d^{2} {\mathrm e}^{2 i \left (f x +e \right )}}{3}+70 i d^{5} {\mathrm e}^{3 i \left (f x +e \right )}+280 c \,d^{4} {\mathrm e}^{2 i \left (f x +e \right )}-20 c^{3} d^{2} {\mathrm e}^{4 i \left (f x +e \right )}+10 c^{4} d \,{\mathrm e}^{2 i \left (f x +e \right )}+60 c^{2} d^{3} {\mathrm e}^{4 i \left (f x +e \right )}-\frac {740 c^{2} d^{3} {\mathrm e}^{2 i \left (f x +e \right )}}{3}-\frac {194 i d^{5} {\mathrm e}^{i \left (f x +e \right )}}{3}+\frac {8 c^{5} {\mathrm e}^{2 i \left (f x +e \right )}}{3}-\frac {4 c^{5}}{15}+\frac {254 d^{5}}{15}-40 i c^{3} d^{2} {\mathrm e}^{3 i \left (f x +e \right )}-200 i c \,d^{4} {\mathrm e}^{3 i \left (f x +e \right )}-10 i c^{4} d \,{\mathrm e}^{3 i \left (f x +e \right )}+180 i c^{2} d^{3} {\mathrm e}^{3 i \left (f x +e \right )}+180 i c \,d^{4} {\mathrm e}^{i \left (f x +e \right )}+10 i c^{4} d \,{\mathrm e}^{i \left (f x +e \right )}+\frac {80 i c^{3} d^{2} {\mathrm e}^{i \left (f x +e \right )}}{3}+\frac {128 c^{2} d^{3}}{3}-48 c \,d^{4}-\frac {28 c^{3} d^{2}}{3}-2 c^{4} d -\frac {460 i c^{2} d^{3} {\mathrm e}^{i \left (f x +e \right )}}{3}+20 d^{5} {\mathrm e}^{4 i \left (f x +e \right )}-\frac {298 d^{5} {\mathrm e}^{2 i \left (f x +e \right )}}{3}}{f \,a^{3} \left ({\mathrm e}^{i \left (f x +e \right )}+i\right )^{5}}\) | \(554\) |
norman | \(\text {Expression too large to display}\) | \(1411\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 1636 vs.
\(2 (278) = 556\).
time = 0.53, size = 1636, normalized size = 5.88 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 669 vs.
\(2 (278) = 556\).
time = 0.37, size = 669, normalized size = 2.41 \begin {gather*} \frac {15 \, d^{5} \cos \left (f x + e\right )^{5} + 6 \, c^{5} - 30 \, c^{4} d + 60 \, c^{3} d^{2} - 60 \, c^{2} d^{3} + 30 \, c d^{4} - 6 \, d^{5} - 30 \, {\left (5 \, c d^{4} - 2 \, d^{5}\right )} \cos \left (f x + e\right )^{4} - {\left (4 \, c^{5} + 30 \, c^{4} d + 140 \, c^{3} d^{2} - 640 \, c^{2} d^{3} + 1170 \, c d^{4} - 449 \, d^{5} - 15 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} f x\right )} \cos \left (f x + e\right )^{3} - 60 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} f x + {\left (8 \, c^{5} + 60 \, c^{4} d - 20 \, c^{3} d^{2} - 380 \, c^{2} d^{3} + 840 \, c d^{4} - 358 \, d^{5} + 45 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} f x\right )} \cos \left (f x + e\right )^{2} + 6 \, {\left (3 \, c^{5} + 10 \, c^{4} d + 30 \, c^{3} d^{2} - 180 \, c^{2} d^{3} + 315 \, c d^{4} - 128 \, d^{5} - 5 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} f x\right )} \cos \left (f x + e\right ) - {\left (15 \, d^{5} \cos \left (f x + e\right )^{4} + 6 \, c^{5} - 30 \, c^{4} d + 60 \, c^{3} d^{2} - 60 \, c^{2} d^{3} + 30 \, c d^{4} - 6 \, d^{5} + 15 \, {\left (10 \, c d^{4} - 3 \, d^{5}\right )} \cos \left (f x + e\right )^{3} + 60 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} f x - {\left (4 \, c^{5} + 30 \, c^{4} d + 140 \, c^{3} d^{2} - 640 \, c^{2} d^{3} + 1020 \, c d^{4} - 404 \, d^{5} + 15 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} f x\right )} \cos \left (f x + e\right )^{2} - 6 \, {\left (2 \, c^{5} + 15 \, c^{4} d + 20 \, c^{3} d^{2} - 170 \, c^{2} d^{3} + 310 \, c d^{4} - 127 \, d^{5} - 5 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} f x\right )} \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )}{30 \, {\left (a^{3} f \cos \left (f x + e\right )^{3} + 3 \, a^{3} f \cos \left (f x + e\right )^{2} - 2 \, a^{3} f \cos \left (f x + e\right ) - 4 \, a^{3} f + {\left (a^{3} f \cos \left (f x + e\right )^{2} - 2 \, a^{3} f \cos \left (f x + e\right ) - 4 \, a^{3} f\right )} \sin \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 15553 vs.
\(2 (264) = 528\).
time = 31.07, size = 15553, normalized size = 55.95 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 564 vs.
\(2 (278) = 556\).
time = 0.45, size = 564, normalized size = 2.03 \begin {gather*} \frac {\frac {15 \, {\left (20 \, c^{2} d^{3} - 30 \, c d^{4} + 13 \, d^{5}\right )} {\left (f x + e\right )}}{a^{3}} + \frac {30 \, {\left (d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 10 \, c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 6 \, d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 10 \, c d^{4} + 6 \, d^{5}\right )}}{{\left (\tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 1\right )}^{2} a^{3}} - \frac {4 \, {\left (15 \, c^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 150 \, c^{2} d^{3} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + 225 \, c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} - 90 \, d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + 30 \, c^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} + 75 \, c^{4} d \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 750 \, c^{2} d^{3} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} + 1050 \, c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} - 405 \, d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{3} + 40 \, c^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 75 \, c^{4} d \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 200 \, c^{3} d^{2} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 1450 \, c^{2} d^{3} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 1800 \, c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 665 \, d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 20 \, c^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 75 \, c^{4} d \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 100 \, c^{3} d^{2} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 950 \, c^{2} d^{3} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1200 \, c d^{4} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) - 445 \, d^{5} \tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 7 \, c^{5} + 15 \, c^{4} d + 20 \, c^{3} d^{2} - 220 \, c^{2} d^{3} + 285 \, c d^{4} - 107 \, d^{5}\right )}}{a^{3} {\left (\tan \left (\frac {1}{2} \, f x + \frac {1}{2} \, e\right ) + 1\right )}^{5}}}{30 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 9.54, size = 652, normalized size = 2.35 \begin {gather*} \frac {d^3\,\mathrm {atan}\left (\frac {d^3\,\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )\,\left (20\,c^2-30\,c\,d+13\,d^2\right )}{20\,c^2\,d^3-30\,c\,d^4+13\,d^5}\right )\,\left (20\,c^2-30\,c\,d+13\,d^2\right )}{a^3\,f}-\frac {{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^6\,\left (\frac {28\,c^5}{3}+10\,c^4\,d+\frac {80\,c^3\,d^2}{3}-\frac {700\,c^2\,d^3}{3}+350\,c\,d^4-\frac {455\,d^5}{3}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2\,\left (\frac {36\,c^5}{5}+14\,c^4\,d+32\,c^3\,d^2-252\,c^2\,d^3+426\,c\,d^4-\frac {891\,d^5}{5}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^5\,\left (\frac {32\,c^5}{3}+30\,c^4\,d+\frac {40\,c^3\,d^2}{3}-\frac {980\,c^2\,d^3}{3}+550\,c\,d^4-\frac {715\,d^5}{3}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^3\,\left (\frac {28\,c^5}{3}+30\,c^4\,d+\frac {80\,c^3\,d^2}{3}-\frac {1060\,c^2\,d^3}{3}+610\,c\,d^4-\frac {761\,d^5}{3}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^4\,\left (\frac {68\,c^5}{5}+22\,c^4\,d+56\,c^3\,d^2-436\,c^2\,d^3+698\,c\,d^4-\frac {1443\,d^5}{5}\right )+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^7\,\left (4\,c^5+10\,c^4\,d-100\,c^2\,d^3+150\,c\,d^4-65\,d^5\right )+48\,c\,d^4+2\,c^4\,d+{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^8\,\left (2\,c^5-20\,c^2\,d^3+30\,c\,d^4-13\,d^5\right )+\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )\,\left (\frac {8\,c^5}{3}+10\,c^4\,d+\frac {40\,c^3\,d^2}{3}-\frac {380\,c^2\,d^3}{3}+210\,c\,d^4-\frac {265\,d^5}{3}\right )+\frac {14\,c^5}{15}-\frac {304\,d^5}{15}-\frac {88\,c^2\,d^3}{3}+\frac {8\,c^3\,d^2}{3}}{f\,\left (a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^9+5\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^8+12\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^7+20\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^6+26\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^5+26\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^4+20\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^3+12\,a^3\,{\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )}^2+5\,a^3\,\mathrm {tan}\left (\frac {e}{2}+\frac {f\,x}{2}\right )+a^3\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________